<div class="updatePwd block" data-title="修改密码" ms-controller="updatePwd">
    <ms-tab ms-widget="{list: @tabList.list, active:@tabList.active}"></ms-tab>
    <form action="" ms-validate="@validate" >
        <div class="row">
            <p class="row-label">账号<i class="showy">*</i>：</p>
            <div class="row-content pbottom15"> {{@account}} </div>
        </div>
        <div class="row">
            <p class="row-label">请输入原密码<i class="showy">*</i>：</p>
            <div class="row-content"> 
                <input type="password" class="textInput" id="originalPwd"
                        ms-duplex="@form.originalPwd"
                        ms-rules="{required: true}" />    
                <i class="eyeIcon" 
                    :class="{active:@eyeActive}" 
                    :click="@switchEye"></i>
                <p class="error" ms-text="@form.originalPwdError"></p>
            </div>
        </div>
        <div class="row">
            <p class="row-label">请输入新密码<i class="showy">*</i>：</p>
            <div class="row-content"> 
                <input type="password" class="textInput" id="newPwd"
                        ms-duplex="@form.newPwd"
                        ms-rules="{required: true, pwd:true}"  />
                <p class="error" ms-text="@form.newPwdError"></p>
            </div>
        </div>
        <div class="row">
            <p class="row-label">请再输入新密码<i class="showy">*</i>：</p>
            <div class="row-content"> 
                <input type="password" class="textInput" id="newPwdToo" 
                        ms-duplex="@form.newPwdToo"
                        ms-rules="{required: true,pwdAgain:true}" />
                <p class="error" ms-text="@form.newPwdTooError"></p>
            </div>
        </div>
        <div class="row">
            <p class="row-label">&nbsp;</p>
            <div class="row-content"> 
                <div class="mtop10">
                    <button class="m-btn" :class="{disabled:@loading}" :click="@triggerValida" :attr="{disabled:@loading}">提交</button>
                    <button class="m-btn-default" :click="@resetForm">重设</button>
                </div>
                <p class="tip">注：GW Plus和MT4账号的密码一致。</p>
            </div>
        </div>
    </form>
</div>